package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbRideDistance;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 电单车运营-骑行订单-里程累计 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-09-19
 */
public interface IEbRideDistanceService extends IService<EbRideDistance> {

    EbRideDistance getOrderRideDistance(Integer rideOrderId, Integer biked);

    void addDistance(Integer rideOrderId, Integer bikeId, BigDecimal startLng, BigDecimal startLat);

    void orderClose(Integer rideOrderId, Integer bikeId);

    Integer getDistance(Integer rideOrderId, Integer bikeId, BigDecimal startLng, BigDecimal startLat);
}
